//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01B
TN_Widget.CreateTable([['John Hiatt','Carnegie of Homestead Music Hall','Homestead, PA','Friday','5/10/2024','8:00 PM','5736284','John-Hiatt-5-10-2024'],['John Hiatt','City Winery - New York City','New York, NY','Saturday','5/11/2024','8:00 PM','6216667','John-Hiatt-5-11-2024'],['John Hiatt','Beacon Theatre - VA','Hopewell, VA','Sunday','5/12/2024','7:00 PM','6216674','John-Hiatt-5-12-2024'],['John Hiatt','The Kent Stage','Kent, OH','Tuesday','5/14/2024','7:30 PM','6216675','John-Hiatt-5-14-2024'],['John Hiatt','Sellersville Theater 1894','Sellersville, PA','Wednesday','5/15/2024','8:00 PM','6216677','John-Hiatt-5-15-2024'],['John Hiatt','Borgata Music Box','Atlantic City, NJ','Friday','5/17/2024','9:00 PM','6216680','John-Hiatt-5-17-2024'],['John Hiatt','Newton Theatre','Newton, NJ','Saturday','5/18/2024','8:00 PM','6216423','John-Hiatt-5-18-2024'],['John Hiatt','Rams Head On Stage','Annapolis, MD','Monday','5/20/2024','7:30 PM','6202071','John-Hiatt-5-20-2024'],['John Hiatt','The Weinberg Center For The Arts','Frederick, MD','Tuesday','5/21/2024','7:30 PM','6215765','John-Hiatt-5-21-2024'],['John Hiatt','Infinity Music Hall & Bistro','Hartford, CT','Thursday','5/23/2024','8:00 PM','6216682','John-Hiatt-5-23-2024'],['John Hiatt','City Winery - Boston','Boston, MA','Saturday','5/25/2024','7:30 PM','6216669','John-Hiatt-5-25-2024'],['John Hiatt','Waterville Opera House','Waterville, ME','Tuesday','5/28/2024','8:00 PM','6216685','John-Hiatt-5-28-2024'],['John Hiatt','The Warehouse at Fairfield Theatre Company','Fairfield, CT','Thursday','5/30/2024','8:00 PM','6216686','John-Hiatt-5-30-2024'],['John Hiatt','Tarrytown Music Hall','Tarrytown, NY','Friday','5/31/2024','8:00 PM','6215379','John-Hiatt-5-31-2024'],['John Hiatt','Westhampton Beach Performing Arts Center','Westhampton Beach, NY','Saturday','6/1/2024','8:00 PM','6216687','John-Hiatt-6-1-2024'],['John Hiatt','Colonial Theatre - Laconia','Laconia, NH','Sunday','6/2/2024','7:00 PM','6216688','John-Hiatt-6-2-2024'],['John Hiatt','Mary Seaton Room At Kleinhans Music Hall','Buffalo, NY','Tuesday','6/4/2024','7:00 PM','6216689','John-Hiatt-6-4-2024'],['John Hiatt','Center for the Arts of Homer','Homer, NY','Wednesday','6/5/2024','8:00 PM','6216690','John-Hiatt-6-5-2024'],['John Hiatt','Nashua Center for the Arts','Nashua, NH','Friday','6/7/2024','7:30 PM','6216691','John-Hiatt-6-7-2024'],['John Hiatt','The Greenwich Odeum','East Greenwich, RI','Saturday','6/8/2024','8:00 PM','5737485','John-Hiatt-6-8-2024'],['John Hiatt','Jane Pickens Theater','Newport, RI','Sunday','6/9/2024','7:00 PM','6216692','John-Hiatt-6-9-2024'],['John Hiatt','Birchmere Music Hall','Alexandria, VA','Monday','6/10/2024','7:30 PM','6216693','John-Hiatt-6-10-2024'],['John Hiatt','Byers Theatre at Sandy Springs Performing Arts Center','Atlanta, GA','Thursday','6/13/2024','7:30 PM','6216694','John-Hiatt-6-13-2024'],['John Hiatt','Nancy and David Bilheimer Capitol Theatre','Clearwater, FL','Friday','6/14/2024','8:00 PM','6216695','John-Hiatt-6-14-2024'],['John Hiatt','Key West Theater','Key West, FL','Saturday','6/15/2024','8:00 PM','5729893','John-Hiatt-6-15-2024'],['John Hiatt','Lexington Opera House','Lexington, KY','Wednesday','6/19/2024','8:00 PM','6331511','John-Hiatt-6-19-2024'],['John Hiatt','Arlington Music Hall','Arlington, TX','Thursday','11/21/2024','8:00 PM','6374848','John-Hiatt-11-21-2024'],['Lyle Lovett & John Hiatt','Tarrytown Music Hall','Tarrytown, NY','Sunday','5/4/2070','TBD','4378943','Lyle-Lovett---John-Hiatt-5-4-2070']],'John Hiatt','http://www.ticketnetwork.com/ticket/John-Hiatt-events.aspx');